package base

import (
	"beesoft.ink/application/text/app/helper/gorm"
	gormBase "gorm.io/gorm"
)

const (
	EnvTypeProduction  = "production"  // 生产环境
	EnvTypeTesting     = "testing"     // 测试环境
	EnvTypeDevelopment = "development" // 开发环境
)

var (
	AppBuildTime = "20241015172000"
	CodePath     = ""
)

type Model struct {
	ID        uint               `gorm:"primarykey" json:"id"`
	CreatedAt *gorm.Time         `json:"created_at"`
	UpdatedAt *gorm.Time         `json:"updated_at"`
	DeletedAt gormBase.DeletedAt `gorm:"index" json:"deleted_at"`
}
